package mapred.example;

import java.io.IOException;
import java.util.Iterator;

import mapred.example.base.RawReducer;

import org.apache.hadoop.io.Writable;
import org.apache.hadoop.mapred.OutputCollector;
import org.apache.hadoop.mapred.Reporter;

public class RemoveDuplicateReducer extends RawReducer {

	@Override
	public void reduce(Writable key, Iterator<Writable> values,
			OutputCollector<Writable, Writable> output, Reporter reporter)
			throws IOException {
		output.collect(key, values.next());
	}

	@Override
	public void setUp() {
	}

}
